package cn.edu.nit.sys.service;

import cn.edu.nit.sys.utils.R;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;

/**
 * @Author xiaobai
 * @Date 2023/3/18 18:56
 * @Version 1.0.0
 */
public interface FileService {
    R uploadFile(MultipartFile image, String uid, String type, String waterText);

    R getSysAvatar();

    void exportExcel(String type, HttpServletResponse response);

    void downloadExcel(String fileName, HttpServletResponse response);

    R importData(MultipartFile file, String uid, String type);

    R delSysAvatar(String id);
}
